package com.pojo;

import lombok.Data;
import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.annotation.Id;
import org.springframework.data.solr.core.mapping.SolrDocument;

import java.io.Serializable;

@Data
@SolrDocument(collection = "core2")
public class Student implements Serializable {

    @Id
    @Field
    private int id;

    @Field
    private String name;

    @Field
    private String des;


}
